// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import "reset-css"; // 引入重置样式表
import ElementUI from 'element-ui'; // 引入ElementUI
import 'element-ui/lib/theme-chalk/index.css'; // 引入ElementUI的css
import "./assets/style/global.css" // 引入全局样式

Vue.use(ElementUI) // 注册ElementUI

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router, // 将路由添加到实例
  components: { App },
  template: '<App/>' 
})
